<?
if(!defined ('U_MOD'))
{
	echo"<meta http-equiv='refresh' content='0;url=/index.php'>";
	exit;
}

include 'topmenu.php';

$querySelectUsers=mysql_query("
	SELECT
		users.*,
		rights.right_title
	FROM
		".$PortalPref."user users
	JOIN
		".$PortalPref."right rights
	ON
		users.user_rule=rights.right_value
	ORDER BY user_rule ASC");
?>